package com.hrcb.web;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "HiController", description = "示例控制器")
@RestController
public class HiController {

    @Operation(summary = "示例方法",description = "方法描述")
    @GetMapping("/hi")
    public String sayHi(String name){
        return "hello "+ name;
    }
}
